#!/bin/sh

for i in $@
do
   echo booting $i
   ssh openstack@172.16.0.1 "source /home/openstack/OpenStackInstaller/demorc && nova boot --flavor my128 --image cirros-0.3-x86_64 --key_name mykey $i"
   sleep 20
done
